package g11.dao;

import g11.model.Drug;

import java.util.List;

public interface DrugDAO {
	public Integer createDrug(Drug drug) throws DAOException;

	public void updateDrug(Drug drug) throws DAOException;

	public void deleteDrug(Drug drug) throws DAOException;

	public Drug getDrugById(int drugId) throws DAOException;

	public Drug getDrugByName(String drugName) throws DAOException;

	public List<Drug> getAllDrugs() throws DAOException;
}
